package com.nantian.nfcm.bms.loan.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 个金部贷款审批权限
 * @author ljx26_000
 *
 */
@Entity
@Table(name = "approval_power")
public class ApprovalPower {
	/*
	 * ID
	 */
	private Long id;
	/*
	 * 贷款类型
	 */
	private String loanType;

	/**
	 *贷款子类型
	 */
	private String loanSubType;
	
	/*
	 * 贷款担保方式
	 */
	private String loanGuarantee;
	
	/*
	 * 贷款金额审批限额
	 */
	private int  loanAmount;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

    @Basic
    @Column(name = "loan_type")
	public String getLoanType() {
		return loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}

	@Basic
	@Column(name = "loan_sub_type")
	public String getLoanSubType() {
		return loanSubType;
	}

	public void setLoanSubType(String loanSubType) {
		this.loanSubType = loanSubType;
	}

	@Basic
    @Column(name = "loan_guarantee")
	public String getLoanGuarantee() {
		return loanGuarantee;
	}

	public void setLoanGuarantee(String loanGuarantee) {
		this.loanGuarantee = loanGuarantee;
	}

    @Basic
    @Column(name = "loan_amount")
	public int getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(int loanAmount) {
		this.loanAmount = loanAmount;
	}
	
	
}
